package com.wf.course.service;

import com.utils.page.PageBean;
import com.wf.course.model.ad.IndexRecommend;

public interface IIndexRecommendService {
	/**
	 * 根据pageBean中封装的查询条件查询
	 * @param pageBean
	 * @return
	 */
	public void indexInfo(PageBean<IndexRecommend> pageBean);
	/**
	 * 添加或修改
	 * @param 
	 */
	public void saveOrUpdateIndexRecommend(IndexRecommend indexRecommend);
	/**
	 * 查询
	 * @param id
	 */
	public IndexRecommend queryIndexRecommendById(Integer id);
	/**
	 * 删除
	 * @param id
	 */
	public void deleteById(Integer id);
	/**
	 *上移或下移排序 0上移  1下移
	 * @param indexTypeCode
	 * @param orderNum
	 * @param orderType
	 * @return
	 */
	public boolean sorting(Integer indexTypeCode,Integer orderNum,Integer orderType,Integer id );
}
